﻿@model SampleApp.Web.Default.Models.RegisterModel

@{
    ViewBag.Title = "用户信息";
}

<div id="UserInfo">
<p>
用户名:<span>@((Context.User as COM.Service.PermissionUserPrincipal).UserName)</span>
</p>
<p>
部门:<span>@ViewBag.DeptName</span>
</p>

</div>